using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DomainModel.PDC
{
    public class Model: IEquatable<Model>
    {
        public string Name { get; set; }
        public Make Make { get; set; }
        public VehicleType VehicleType { get; set;}

        public int MaintenanceInterval { get; set; }
        public bool Equals(Model other)
        {
            if (other == null) return false;
            return (string.Compare(other.Name, this.Name, true)==0);
        }
    }
}
